RankMath\Redirections\Watcher S

Total Complexity 41
Dependencies 5
Dependents 1
Total lines 361
Lines of code 173
Logical lines of code 88
Comment lines 134
Methods 17
Properties 2

Methods 17

Method Rating Maintainability Complexity Lines of code
handle_post_update()
S
52 6 22
create_redirection()
S
49 5 32
handle_term_update()
S
54 4 19
has_permalink_changed()
S
63 4 11
__construct()
S
58 3 15
add_notification()
S
61 3 13
has_existing_redirection()
S
68 2 7
get_site_path()
S
68 2 7
display_suggestion()
S
68 2 7
invalidate_post()
S
71 2 6
can_display_suggestion()
S
71 2 6
pre_term_update()
S
78 1 3
pre_post_update()
S
79 1 3
invalidate_term()
S
73 1 5
invalidate_author()
S
80 1 3
add_invalid_notification()
S
70 1 5
get_edit_redirection_url()
S
66 1 9